<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id 
 * @property int $music_id 音乐id
 * @property string $lyric 歌词
 * @property string $singer 歌手
 * @property string $music_name 歌名
 * @property string $album 专辑名称
 * @property string $pic 封面
 * @property string $download_url 原始链接
 * @property string $local_url 本地链接
 * @property string $oss_url oss链接
 * @property int $status 状态: 0 启用 1.禁用
 * @property string $create_time 添加时间
 * @property string $update_time 修改时间
 */
class Music extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'music';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'music_id', 'lyric', 'singer', 'music_name', 'album', 'pic', 'download_url', 'local_url', 'oss_url', 'status', 'create_time', 'update_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'music_id' => 'integer', 'status' => 'integer'];
}
